<html lang="en">
    <head>
    <title>div print</title>
    </head>
    <body class="print">
        <div  style="width: 210mm;height: 297mm; background-color: white; "><!--startprint-->
            <div style="width: 90%;height: 40px;line-height: 40px;text-align: center;">
                <h3 id="h_title">{{ obj.title }}</h3>
            </div>
            <hr>
            <div id="aside" class="grid_3 push_1">
            </div>
        <table style="width: 90%;margin-left: 5%;font-size: 0.35cm;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;">
                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%; background-color: #F5F5F5;color: #1E90FF;">
                            申请详情
                </td>
            </tr>
        </table>
        <table style="width: 90%;margin-left: 5%;font-size: 0.35cm;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;">
                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    提交人
                </td>
                <td id="tjr"
                    style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.apply_user }}</td>
                <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    提交科室
                </td>
                <td id="tjks"
                    style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.department }}</td>
                <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    议题编号
                </td>
                <td id="bh"
                    style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.number }}</td>
            </tr>
            <tr id="xb_ks" style="width: 100%;">
                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    协办科室
                </td>
                <td id="xieban"
                    style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;">{{ obj.help_department }}</td>
                <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    预算金额(不超过)
                </td>
                <td id="ysje"
                    style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.ysje }}</td>
                <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    经费来源
                </td>
                <td id="jfly"
                    style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%;border-top: none;">{{ obj.jfly }}</td>
            </tr>
        </table>
        <table style="width: 90%;margin-left: 5%;font-size: 0.35cm;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;">
                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    议题名称
                </td>
                <td id="ytmc"
                    style="width: 50%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;">{{ obj.topics_name }}</td>
                <td style="width: 10%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    预估用时(分钟)
                </td>
                <td id="ygys"
                    style="width: 25%;height: 40px;line-height: 40px;border: #cccccc solid 1px;border-left: none;padding-left: 1%;border-top: none;outline: none;">{{ obj.topics_estimate }}</td>
            </tr>
        </table>
        <table style="width: 90%;margin-left: 5%;font-size: 0.45cm;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;">
                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    议题简述
                </td>
                <td id="ytnr"
                    style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;">
                    {% autoescape off %}{{ obj.topics_text }}{% endautoescape %}</td>
            </tr>
            <tr id="yt_yj" style="width: 100%;">
                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    政策依据或调研论证情况
                </td>
                <td id="ytyj"
                    style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;">
                    {% autoescape off %}{{ obj.topics_basis }}{% endautoescape %}</td>
            </tr>
            <tr id="jj_fa" style="width: 100%;">
                <td style="width: 15%;height: 100px;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                    拟供选择方案
                </td>
                <td id="jjfa"
                    style="width: 85%;height: 100px;border: #cccccc solid 1px;border-left: none;border-top: none;padding-left: 1%;">
                    {% autoescape off %}{{ obj.solution }}{% endautoescape %}</td>
            </tr>
        </table>
        <table style="width: 90%;margin-left: 5%;font-size: 0.35cm;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;">
                <td style="width: 15%;height: 40px;line-height: 40px;border: #cccccc solid 1px;text-align: left;padding-left: 1%; background-color: #F5F5F5;color: #1E90FF;">
                            审批详情
                </td>
            </tr>
        </table>
        <table style="width: 90%;margin-left: 5%; font-size: 0.45cm;" cellspacing="0" cellpadding="0">
                    <tr style="width: 100%;">
                        <td style="width: 15%;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                            分管领导
                        </td>
                        <td style="width: 85%;border: #cccccc solid 1px;border-left: none;border-top: none;padding: 1%;">
                            <div id="fg_leder" style="width: 100%;position: relative;">
                                {% for k,v in obj.audit_list.items %}
                                    {% if k == 'B' %}
                                        {% for item in v %}
                                            {% if item.state != 'unaudit' %}
                                                <div id="fzrcs_op" style="width: 100%;line-height: 20px;position: relative;">
                                                    <span>{{ item.state }}</span>
                                                    <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                </div>
                                                <div>
                                                    <img src="{{ item.signature_picture }}" alt=""
                                                         style="width: 150px; height: 60px;">
                                                </div>
                                                <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                            {% endif %}
                                        {% endfor %}
                                    {% endif %}
                                {% endfor %}
                            </div>
                        </td>
                    </tr>
                    <tr style="width: 100%;">
                        <td id="ld"
                            style="width: 15%;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">书记/院长审批</td>
                        <td style="width: 85%;border: #cccccc solid 1px;border-left: none;border-top: none;padding: 1%;">
                            <div id="ld_leder" style="width: 100%;position: relative;">
                                {% for k,v in obj.audit_list.items %}
                                    {% if k == 'YZ/SJ' %}
                                        {% for item in v %}
                                            {% if item.state != 'unaudit' %}
                                                <div id="fzrcs_op" style="width: 100%;line-height: 20px;position: relative;">
                                                    <span>{{ item.state }}</span>
                                                    <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                </div>
                                                <div>
                                                    <img src="{{ item.signature_picture }}" alt=""
                                                         style="width: 150px; height: 60px;">
                                                </div>
                                                <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                            {% endif %}
                                        {% endfor %}
                                    {% endif %}
                                {% endfor %}
                            </div>
                        </td>
                    </tr>
                    <tr style="width: 100%;">
                        <td id="zr"
                            style="width: 15%;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                            党政办接收
                        </td>
                        <td style="width: 85%;border: #cccccc solid 1px;border-left: none;border-top: none;padding: 1%;">
                            <div id="zr_leder" style="width: 100%;position: relative;">
                                {% for k,v in obj.audit_list.items %}
                                    {% if k == 'YB/DB' %}
                                        {% for item in v %}
                                            {% if item.state != 'unaudit' %}
                                                <div id="fzrcs_op" style="width: 100%;line-height: 20px;position: relative;">
                                                    <span>{{ item.state }}</span>
                                                    <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                </div>
                                                <div>
                                                    <img src="{{ item.signature_picture }}" alt=""
                                                         style="width: 150px; height: 60px;">
                                                </div>
                                                <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                            {% endif %}
                                        {% endfor %}
                                    {% endif %}
                                {% endfor %}
                            </div>
                        </td>
                    </tr>
                    <tr id="huiyijieguo" style="width: 100%;">
                        <td id="jg"
                            style="width: 15%;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                            会议结果
                        </td>
                        <td style="width: 85%;border: #cccccc solid 1px;border-left: none;border-top: none;padding: 1%;">
                            <div id="jg_leder" style="width: 100%;position: relative;">
                                {% for k,v in obj.audit_list.items %}
                                    {% if k == 'result' %}
                                        {% for item in v %}
                                            {% if item.state != 'unaudit' %}
                                                <div id="fzrcs_op" style="width: 100%;line-height: 20px;position: relative;">
                                                    <span>{{ item.state }}</span>
                                                    <span style="margin-left: 3%">{{ item.audit_note }}</span>
                                                </div>
                                                <div>
                                                    <img src="{{ item.signature_picture }}" alt=""
                                                         style="width: 150px; height: 60px;">
                                                </div>
                                                <div style="text-align: right;color: #0b0b0b;">{{ item.audit_time }}</div>
                                            {% endif %}
                                        {% endfor %}
                                    {% endif %}
                                {% endfor %}

                            </div>
                        </td>
                    </tr>
                    <tr id="ybtodb_shuji" style="width: 100%;display: none;">
                        <td id="sj_sh"
                            style="width: 15%;border: #cccccc solid 1px;text-align: right;padding-right: 1%;border-top: none;">
                            书记审核
                        </td>
                        <td style="width: 85%;border: #cccccc solid 1px;border-left: none;border-top: none;padding: 1%;">
                            <div id="sj_leder" style="width: 100%;position: relative;">

                            </div>
                        </td>
                    </tr>
                </table>
        </div>
    </body>
</html>

